package com.tengju.data.infrastructure.persistence.mybatis.mapper.data.custom;

import com.tengju.data.infrastructure.persistence.mybatis.dataobject.SubjectSkuStatisticsDO;
import com.tengju.data.infrastructure.persistence.mybatis.dataobject.SubjectStatisticsDO;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author chenhang
 * @Date 2021/4/22
 */
public interface DwsSubjectSettleViewMapper {


    BigDecimal summaryBonus(@Param("month") Integer month);

    List<SubjectStatisticsDO> listSubjectStatistics(@Param("month") Integer month);

    List<SubjectSkuStatisticsDO> listSubjectSkuStatistics(@Param("month") Integer month, @Param("pageNo") Integer pageNo, @Param("pageSize") Integer pageSize);

    Integer countSubjectSku(@Param("month") Integer month);

}
